package com.scau.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="employee")
public class Employee {
	private long id;
	private String name;
	private String tel;
	private String gender;
	private String department_code;	
	private Date employed_date;
	private String userid;
	private String pwd;
	private String position;
	
	@Id
	@GeneratedValue
	public long getId() {
		return id;
	}
	public String getName() {
		return name;
	}
	public String getTel() {
		return tel;
	}
	public String getGender() {
		return gender;
	}
	public String getDepartment_code() {
		return department_code;
	}
	public Date getEmployed_date() {
		return employed_date;
	}	
	public String getUserid() {
		return userid;
	}
	public String getPwd() {
		return pwd;
	}
	public String getPosition() {
		return position;
	}
	public void setId(long id) {
		this.id = id;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public void setDepartment_code(String department_code) {
		this.department_code = department_code;
	}
	public void setEmployed_date(Date employed_date) {
		this.employed_date = employed_date;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public void setPosition(String position) {
		this.position = position;
	}

}
